package com.shtel.paas.monitorcenter.config.management.warning.contects.service;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.github.pagehelper.PageInfo;
import com.shtel.paas.monitorcenter.config.management.warning.contects.entity.MonitorCenterHostInfomationVo;
import com.shtel.paas.monitorcenter.config.management.warning.contects.entity.alarmResponseDto;
import com.shtel.paas.monitorcenter.config.management.warning.contects.entity.alarmResponseEntity;
import com.shtel.paas.monitorcenter.view.dispaly.host.monitor.vo.selecthostMonitorTreeDataVo;

@Repository
public interface IWarningContectsService {

	public PageInfo<alarmResponseEntity> selectAll(String ip, Integer page,
			Integer pageSize);

	public int updateWarningConytects(alarmResponseDto dto);

	public int deleteWarningContects(String id);

	public int insertWarningContects(alarmResponseDto dto);

	public List<String> selectIpList();

	/**
	 * 查询未配置IP地址和systemName抽象方法
	 * 
	 * @param:
	 * @author: zhangyy
	 * @Date: 2018.05.15
	 * @return: list
	 */
	public List<MonitorCenterHostInfomationVo> selectIpsAndSystemName();

	/**
	 * 列表IP地址查询
	 * 
	 * @author zhongzhaochuan
	 * @Date 2018.05.15
	 * @return
	 */
	public List<Object> getIpTreeData();

	/**
	 * 异步获取动态树的第三层节点数据
	 * 
	 * @author zhongzhaochuan
	 * @Date 2018.05.15
	 * @return
	 */
	public List<selecthostMonitorTreeDataVo> asyncGetIpTreeData(
			String commentId, String hostId);

	int insertWarningContects1(alarmResponseDto dto);
}
